package cn.sz.dzy.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author DingZhenYun
 * @since 2021-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DevicesRegisterInfo对象", description="")
public class DevicesRegisterInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("deviceId")
    private String deviceid;

    @TableField("deviceUUID")
    private String deviceuuid;

    @TableField("deviceMAC")
    private String devicemac;

    @TableField("deviceIP")
    private String deviceip;

    @TableField("deviceType")
    private Boolean devicetype;

    @TableField("heartbeatTime")
    private LocalDateTime heartbeattime;

    @TableField("deviceAIAbility")
    private Integer deviceaiability;

    @TableField("heartbeatCount")
    private Integer heartbeatcount;

    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;


}
